def f():
    print("ok")
    s= yield 5
    print(s)
    print("ok2")
    yield

gen=f()
x=gen.__next__()
print(x)
gen.send(0)